import sys
import re
from accelerate import Accelerator
Accelerator()
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
print(sys.argv[0])